package com.ywk.miaohsa.vo;

import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

public class PasswordVo {
    @NotNull
    @Length(min=32)
    private String oldPsw;

    @NotNull
    @Length(min=32)
    private String newPsw;

    public String getOldPsw() {
        return oldPsw;
    }

    public void setOldPsw(String oldPsw) {
        this.oldPsw = oldPsw;
    }

    public String getNewPsw() {
        return newPsw;
    }

    public void setNewPsw(String newPsw) {
        this.newPsw = newPsw;
    }
}
